<template>
  <div>
    <news-header></news-header>
    <news-container :NewsContainer="NewsContainer"></news-container>
    <news-footer></news-footer>
  </div>
</template>

<script>
import axios from "axios";
import NewsHeader from "../../pages/News/component/NewsHeader";
import NewsContainer from "../../pages/News/component/NewsContainer";
import NewsFooter from "../../pages/footer";
export default {
  name: "information",
  components: {
    NewsHeader,
    NewsContainer,
    NewsFooter
  },
  data() {
    return {
      NewsContainer: []
    };
  },
  created() {
    var _this = this;
    axios.get("/static/ceshi.json").then(function(res) {
      _this.NewsContainer = res.data.data.news;
    });
  }
  // methods: {
  //      open:function(id){
  //         this.$router.push({path:"newsDetail",query:{id:id}})
  //     },
  // }
};
</script>


<style lang="stylus" scoped>
</style>
